package questao3;

public class CalculoAreas {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		double r1,r2,r3;
		
		Quadrado q = new Quadrado();
		Retangulo r = new Retangulo();
		Triangulo t = new Triangulo();
		
		r1=q.CalcularArea(3, 3);
		r2=r.CalcularArea(3, 4);
		r3=t.CalcularArea(4, 5);
		
		System.out.println(r1);
		System.out.println(r2);
		System.out.println(r3);
		
		

	}

}
